import { createRouter, createWebHistory } from 'vue-router'
import HomePage from '../views/HomePage.vue'
import AnnotatorApp from '../views/AnnotatorApp.vue'
import ImageAnnotator from '../views/ImageAnnotator.vue'

const routes = [
  {
    path: '/page',
    name: 'HomePage',
    component: HomePage
  },
  {
    path: '/picture',
    name: 'ImageAnnotator',
    component: ImageAnnotator
  },
  {
    path: '/',
    name: 'AnnotatorApp',
    component: AnnotatorApp
  }
]

const router = createRouter({
  history: createWebHistory(),
  routes
})

export default router
